package com.tcs.service.action;

import java.lang.reflect.Method;

/**
 * Action
 */
public class Action {

    private Object bean;

    private Method method;

    public Action(Object bean, Method method) {
        this.bean = bean;
        this.method = method;
    }

    public Action() {
    }

    public Object getBean() {
        return bean;
    }

    public Method getMethod() {
        return method;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    @Override
    public String toString() {
        return "Action{" +
                "bean=" + bean +
                ", method=" + method +
                '}';
    }
}
